package com.dongke.service;

import com.dongke.pojo.Car2;
import com.dongke.pojo.Tcar;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface CarService {
    PageInfo<Car2> selectgetCar(Car2 car2, Integer pageNum, Integer pageSize);

    Integer insertinto(Car2 car2);

    void delete(Integer[] arr);

    Car2 selectCar(Integer cid);

    void update(Car2 car2);

    void deletes(Integer cid);

    List<Tcar> selectCar2();

    PageInfo<Car2> getInfoServer(Car2 car2, Integer pageNum, Integer pageSize);

    List<Car2> selectCar2s();

    int deleteBatch(Integer[] ids);
}
